package com.marvels.system.permission.dto;

import java.util.Date;
import java.util.List;

import com.marvels.common.dto.PageDTO;

/**
 * 用户登陆日志表
 * 
 * @author 涂旭
 * 
 * @date 2018-10-02
 */
public class McsmUserLoginLog extends PageDTO {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2515894528393763641L;

	private Long id;

	/**
	 * 用户ID
	 */
	private Long userId;

	/**
	 * 用户代码
	 */
	private String userCode;

	/**
	 * 用户名
	 */
	private String userName;

	/**
	 * 真实姓名
	 */
	private String realName;

	/**
	 * 登陆IP
	 */
	private String loginIp;

	/**
	 * 登陆时间
	 */
	private Date loginTime;

	/**
	 * 状态 0：成功 1：失败
	 */
	private Integer status;

	/**
	 * 备注
	 */
	private String msg;

	/**
	 * 登陆开始日期（前端传入）
	 */
	private String loginStartDate;

	/**
	 * 登陆结束日期（前端传入）
	 */
	private String loginEndDate;

	private List<String> ignoreUserCodeList;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode == null ? null : userCode.trim();
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName == null ? null : realName.trim();
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp == null ? null : loginIp.trim();
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg == null ? null : msg.trim();
	}

	public String getLoginStartDate() {
		return loginStartDate;
	}

	public void setLoginStartDate(String loginStartDate) {
		this.loginStartDate = loginStartDate;
	}

	public String getLoginEndDate() {
		return loginEndDate;
	}

	public void setLoginEndDate(String loginEndDate) {
		this.loginEndDate = loginEndDate;
	}

	public List<String> getIgnoreUserCodeList() {
		return ignoreUserCodeList;
	}

	public void setIgnoreUserCodeList(List<String> ignoreUserCodeList) {
		this.ignoreUserCodeList = ignoreUserCodeList;
	}
	
	
}